<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>质保部测试系统</title>
<script src="/Terminator/js/jquery-3.0.0.min.js">
	
</script>
<script src="/Terminator/js/register.js">
	
</script>

<script src="/Terminator/js/angular.min.js"></script>
</head>
<body>
	<br>
	<div id="title">
		<h1 align="center">注册页面</h1>
	</div>
	<br />
	<br />
	<div ng-app="myApp" ng-controller="myCtrl">
		<div align="center"
			style="font-size: 13px; color: red; top: 73px; left: 70px; height: 0px; line-height: 28px; width: 100%;">{{errorTip}}</div>
		<br /> <br />
		<div align="center">
			<input type="text"
				onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')"
				placeholder='请输入登录名' maxlength="20" align="middle" id="username"
				name="login" required>
		</div>
		<br />
		<div align="center">
			<input type="password" placeholder="请输入密码" maxlength="20"
				onkeyup="value=value.replace(/[^\a-\z\A-\Z0-9]/g,'')" align="middle"
				id="password" name="pass" required>
		</div>
		<br />
		<div align="center">
			<input type="text" placeholder="请输入姓名" maxlength="20" align="middle"
				id="name" name="name" required
				onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')">
		</div>
		<br /> <br />
		<div align="center">
			<input type="button" align="middle" id="login_btn"
				ng-click='registerClick()' value="注册">
		</div>

	</div>
</body>
</html>
